package com.lcifn.springmvc.config;

import javax.servlet.ServletContextEvent;
import javax.servlet.annotation.WebListener;

import org.springframework.web.context.ContextLoaderListener;

//@WebListener
public class MyContextLoaderListener extends ContextLoaderListener{
	@Override
	public void contextInitialized(ServletContextEvent event) {
		event.getServletContext().setInitParameter("contextConfigLocation", "classpath:app-context.xml");
		super.contextInitialized(event);
	}
}
